package top.jnaw.jee.pm.routes;

import com.jfinal.config.Routes;
import top.jnaw.jee.pm.controller.ProjectsController;
import top.jnaw.jee.pm.controller.TasksController;
import top.jnaw.jee.pm.controller.UserController;
import top.jnaw.jee.pm.controller.MainController;

public class MainRoutes extends Routes {

  @Override
  public void config() {
    add("/", MainController.class);
    add("/user", UserController.class);
    add("/projects", ProjectsController.class);
    add("/tasks", TasksController.class);

  }
}
